package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 广场发布的页面模块对象 square
 * 
 * @author ruoyi
 * @date 2022-12-08
 */
public class Square extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String headPortrait;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String name;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date time;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String text;

    /** 用户名 */
    @Excel(name = "用户名")
    private Long fabulous;

    /** 用户名 */
    @Excel(name = "用户名")
    private String fabulousHidden;

    /** 用户名 */
    @Excel(name = "用户名")
    private Long comment;

    /** 用户名 */
    @Excel(name = "用户名")
    private String commentHidden;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String classify;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setHeadPortrait(String headPortrait) 
    {
        this.headPortrait = headPortrait;
    }

    public String getHeadPortrait() 
    {
        return headPortrait;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setText(String text) 
    {
        this.text = text;
    }

    public String getText() 
    {
        return text;
    }
    public void setFabulous(Long fabulous) 
    {
        this.fabulous = fabulous;
    }

    public Long getFabulous() 
    {
        return fabulous;
    }
    public void setFabulousHidden(String fabulousHidden) 
    {
        this.fabulousHidden = fabulousHidden;
    }

    public String getFabulousHidden() 
    {
        return fabulousHidden;
    }
    public void setComment(Long comment) 
    {
        this.comment = comment;
    }

    public Long getComment() 
    {
        return comment;
    }
    public void setCommentHidden(String commentHidden) 
    {
        this.commentHidden = commentHidden;
    }

    public String getCommentHidden() 
    {
        return commentHidden;
    }
    public void setClass(String classify)
    {
        this.classify = classify;
    }

    public String getClassify()
    {
        return classify;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("headPortrait", getHeadPortrait())
            .append("name", getName())
            .append("time", getTime())
            .append("text", getText())
            .append("fabulous", getFabulous())
            .append("fabulousHidden", getFabulousHidden())
            .append("comment", getComment())
            .append("commentHidden", getCommentHidden())
            .append("class", getClass())
            .toString();
    }
}
